package com.itcoon.transform4j.demo.domain;


import com.itcoon.common.core.enums.CodeEnum;

/**
 * @author Miaoxia Yu
 * @date 2020-11-06
 */
public enum Gender implements CodeEnum {

    MALE(10),
    FEMAIL(20),
    ;

    private final int value;

    Gender(int value) {
        this.value = value;
    }


    @Override
    public Integer value() {
        return this.value;
    }
}
